package com.geekbang.boot.demo5;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author nhsoft.lul
 */

public class Demo5Application {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        Demo5Student demo5Student = context.getBean(Demo5Student.class);
        System.out.println(demo5Student.toString());
    }
}
